home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/View.h>
- #import "pointdata.h"
-
- #define POINTRADIUS 0.1
-
- typedef enum {WAITING,INSERTING,DELETING,MOVING,DMOVING} DrawState;
-
- @interface InputView:View
- {
- id savePanel;
- id openPanel;
-
- id inputMode;
- id inputX;
- id inputY;
- id inputPen;
-
- NXPoint *location;
- DrawState state;
- id caller; /* small kludge... need to be able to tell controlObject that It has to update inputlist. */
- PointList currentPoints;
- int MoveIndex;
- int InsertIndex;
- BOOL GridOn;
- BOOL instanceDrawing;
- }
-
- - setItUp:sender;
- - drawGrid;
- - (BOOL)gridState;
- - setGridState:(BOOL)newGridState;
- - drawSelf:(const NXRect *)rects :(int)rectCount;
-
- -saveFile;
- - openFile:(const char *)filename;
- -openFile;
- -clearFile;
- - map:(PointList **)pl;
- - mouseDown:(NXEvent *)theEvent;
- - mouseDragged:(NXEvent *)theEvent;
- - mouseUp:(NXEvent *)theEvent;
- - flagsChanged:(NXEvent *)theEvent;
- - movePoint:(NXEvent *)theEvent;
- - addPoint:(NXEvent *)theEvent;
- - doInstanceDragSwitch;
- - insertPoint:(NXEvent *)theEvent;
- - deletePoint:(NXEvent *)theEvent;
- - mouseMoved:(NXEvent *)theEvent;
- - fixState:(NXEvent *)theEvent;
-
- @end
-